package com.shjzit.loglib.lib_interface;

import com.shjzit.loglib.ParseResult;

import org.json.JSONObject;

import java.util.Map;

/**
 * 动态参数回调监听,客户端自己实现该接口
 */
public interface DynamicParameterPropertiesCallBack {

    JSONObject getParams();

    Map<String, String> getHeaders();

    void onUploadStart(int logId);

    ParseResult parseResp(String resp);

    ParseResult parseError(Throwable throwable);

    String getHostUrl();

    boolean isShowLog();
}
